<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>菜单管理</title>
    <link rel="stylesheet" type="text/css" href="/future/util/layui/css/layui.css"/>
    <style>
        .layui-hide{
            display: none;
        }
    </style>
</head>

<body>
<div class="layui-layer-content" id="dd" style="padding: 20px;">
<div class="layui-row layui-col-space15">
    <div class="layui-col-md12">
        <div style="padding: 10px;">
            <table id="currentTableId" lay-filter="currentTableId"></table>
            <div id="page"></div>
        </div>
        <script type="text/html" id="currentTableBar" lay-filter="currentTableBar">
            <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
        </script>
    </div>
    <div class="layui-hide" id="addMenu">
        <div class="layui-form-item">
            <label class="layui-icon layui-icon-biaodan"></label>
            <input type="text" lay-verify="required" placeholder="页面名称" autocomplete="off" class="layui-input" value="">
        </div>
        <div class="layui-form-item">
            <label class="layui-icon layui-icon-biaodan"></label>
            <select class="layui-input-inline">
                <option value="1">一级菜单</option>
                <option value="2">二级菜单</option>
            </select>
        </div>
        <div class="layui-form-item">
            <label class="layui-icon layui-icon-biaodan"></label>
            <select class="layui-input-inline" id="lastmenuid">
                <option disabled value="">请选择上级菜单</option>
<!--                <option v-for="(item,i) in menuList" :value="item.id" v-text="item.menuname"></option>-->
            </select>
        </div>
        <div class="layui-form-item">
            <label class="layui-icon layui-icon-biaodan">请上传.html格式的源文件</label>
            <input type="file" accept=".html"/>
        </div>
        <div class="layui-form-item">
            <input type="button" value="确定上传" class="layui-btn-primary">
        </div>
    </div>
</div>
</div>
</body>
</html>
<script src="/future/util/layui/layui.js" type="text/javascript" charset="utf-8"></script>
<script src="/future/js/jquery.js"></script>
<script src="/future/vue/vue.min.js"></script>
<script src="/future/vue/vue.resource.js"></script>
<script src="/future/js/manager/menu.js"></script>
